﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
using Box.BL;
using Box.Entities;
using Microsoft.Practices.Unity;

namespace Box.Cliente.Logistica.Compras
{
    public partial class frmListComprasAnuladas : System.Web.UI.Page
    {
        [Dependency]
        public ICompraBL compraBl { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public IEnumerable<Compra> GetComprasAnuladas([Control("txtCriterio")] string criterio)
        {
            return compraBl.GetFRomComprasAnuladadByCriterio(criterio);
           
        }
    }
}